<template>
	<view class="">
	<!-- 	<view class="fix" style="top: 65rpx;left: 65rpx;" @click="back">
			<image style="width: 60rpx;" mode="widthFix" src="/static/back_b.png"></image>
		</view> -->

	</view>

</template>

<script>
	export default {
		name: "navigationBar",
		data() {
			return {

			};
		},
		methods: {
			back() {
				debugger
				console.log("back")
				const pages = getCurrentPages();
				// 检查页面栈是否有上一页
				if (pages.length > 1) {
					uni.navigateBack();
				} else {
					// 根据环境处理
					if (window.history.length > 1) {
						window.history.back();
					}
				}

			},

		}

	}
</script>

<style>

</style>